﻿@model FamaWebSite.Models.ParametrosModel

@*<h2>@ViewBag.teste</h2>*@

@using (Html.BeginForm("Classificar", "MaisProvavel"))
{
@*    @Html.AntiForgeryToken()  *@
    @Html.ValidationSummary(true)

    @Html.HiddenFor(model => model.Algoritmo)

    <fieldset>
        <legend>ParametrosMaisProvavel</legend>
        
        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Atributos)
        </div>
        
        <div class="editor-field">
            @Html.EditorFor(model => model.Atributos)
            @Html.ValidationMessageFor(model => model.Atributos)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ParametrosExtras)
        </div>
        
        <div class="editor-field">
            @Html.EditorFor(model => model.ParametrosExtras)
            @Html.ValidationMessageFor(model => model.ParametrosExtras)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AtributoAnalisado)
        </div>
        
        <div class="editor-field">
            @Html.EditorFor(model => model.AtributoAnalisado)
            @Html.ValidationMessageFor(model => model.AtributoAnalisado)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AtributoNovo)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.AtributoNovo)
            @Html.ValidationMessageFor(model => model.AtributoNovo)
        </div>
        
        <div class="editor-label">
            @Html.LabelFor(model => model.ArquivoInputTreino)
        </div>

        <span id="msgErrorUploadFile" style="display:none"></span>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.ArquivoInputTreino, new SelectList(Model.FilesList), "Selecione um arquivo")
            @Html.ActionLink("Upload novo arquivo", "Index", "Upload", new { @class = "actionlnkUpload"})
            @Html.ValidationMessageFor(model => model.ArquivoInputTreino)
        </div>
        
        <div class="editor-label">
            @Html.LabelFor(model => model.ArquivoInputTeste)
        </div>
        
        <div class="editor-field">
            @Html.DropDownListFor(model => model.ArquivoInputTeste, new SelectList(Model.FilesList), "Selecione um arquivo")
            @Html.ActionLink("Upload novo arquivo", "Index", "Upload", new { @class = "actionlnkUpload"})
            @Html.ValidationMessageFor(model => model.ArquivoInputTeste)
        </div>
        
        <input type="submit" id="btnClassificar" name="Command" value="Classificar" />

    </fieldset>
}